﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.StatusModel
{
    /// <summary>
    /// 预定表和房型表的关系表
    /// </summary>
    [Table("BookingRoomModel")]
    public class BookingRoomModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 预定表id
        /// </summary>
        public int BookingId { get; set; }
        /// <summary>
        /// 房型id
        /// </summary>
        public int RoomTypeId { get; set; }
        /// <summary>
        /// 房间数量
        /// </summary>
        public int RoomNum { get; set; }
        /// <summary>
        /// 早餐份数
        /// </summary>
        public int BreakfastNum { get; set; }
        /// <summary>
        /// 自定义价格
        /// </summary>
        public decimal CustomizePrice { get; set; }
        /// <summary>
        /// 排房
        /// </summary>
        public string?Townhouse { get; set; }
    }
}
